package cn.ncu.wechat.service;

import cn.ncu.wechat.model.Admin;
import cn.ncu.wechat.util.Result;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author 
* @description 针对表【admin(管理员表)】的数据库操作Service
* @createDate 2025-01-07 16:01:01
*/
public interface AdminService extends IService<Admin> {

    Result getAdminList(Integer page, Integer pageSize, String keyword);

    Result updateOrAddAdmin(Map<String, Object> request);

    Result changePassword(Long id, Map<String, String> request);

    Result<?> login(Admin admin);

    boolean checkURL(DecodedJWT decodedJWT);
}
